Skip to main content

Import

Usage

Properties

triggerCheckout

(settings: CheckoutSettings) => void Opens the Checkout modal with the specified parameters. Parameters: The settings object can include the following properties: The creditCardCheckout object includes: The orderSummaryItems array contains objects with:

closeCheckout

() => void Closes the Checkout modal.

settings

CheckoutSettings | undefined The current settings configuration for the Checkout modal.

Notes

This hook provides methods to control the Checkout modal that allows users to complete purchases using various payment methods. Checkout supports credit card payments and crypto payments for purchasing digital assets.